package com.lengxf.design;

public class Client {

    public static void main(String[] args) {
        String instruction = "down run 10 and left move 20";
        InstructionHandler instructionHandler = new InstructionHandler();
        instructionHandler.handle(instruction);
        String s = instructionHandler.outPut();
        System.out.println(s);
    }

}
